//
//  HMSelectType.h
//  HMMarket
//
//  Created by maimaigo3 on 2017/5/16.
//  Copyright © 2017年 homai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeCategory.h"
@class HomeCategory;
@protocol HMSelectTypeDelegate <NSObject>

- (void)select:(HomeCategoryDetail *)cate;

- (void)dismiss;

@end

@interface HMSelectType : UIView

NS_STRONG NSArray *dataArray;

NS_ASSIGN id<HMSelectTypeDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame dataArray:(NSArray *)dataArray;

@end
